with open(r"d:\下载.jpg",'rb') as f:
    img_binary=f.read()
with open(r'd:\1.jpg','wb') as  f1:
    f1.write(img_binary)
